

<%- include public/header.ejs %>
<div class="container-fluid">
    <div class="row">
        <%- include public/aslideleft.ejs %>
        <div class="col-sm-10">
            <ol class="breadcrumb">
                <li class="active">商品管理
                </li>
                <li class="active">商品更改
                </li>
            </ol>
            <div class="panel panel-default">
              
			    <div class="panel-heading">
                    商品更改
                </div>
                <div class="panel-body">
                    <div class="table-responsive input-form">
                        <form action="/doEdit" method="post" enctype="multipart/form-data">
                            <ul>
                                <li>  商品名称: <input type="text" value='<%=data[0].title%>' name="title"/></li>
                                 <input name='_id' value="<%=data[0]._id%>" type="hidden" >
                                  <li>  商品图片: <input type="file" name='pic'/>
                                <br/>
                                    <img src='<%=data[0].pic%>' width="150px" height="100px" class='color' />
                                <br/></li>
                                <li>  商品价格: <input type="text" value='<%=data[0].price%>' name="price"/></li>
                                <li>  商品邮费: <input type="text" value='<%=data[0].fee%>'name="fee"/></li>

                                <li>
                                   商品描述: 
                                    <textarea name="description" id="" cols="60" rows="8"><%=data[0].description%></textarea>
                                </li>

                                <li>
                                    <br/>
                                    <button type="submit" class="btn btn-default">提交</button>
                                </li>

                            </ul>


                        </form>
                    </div>
                </div>


            </div>

        </div>
    </div>
</div>

</body>
</html>